package com.cnswhy.cloud.server.core.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.cnswhy.cloud.common.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 
 * </p>
 *
 * @author cnswhy
 * @since 2020-10-19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "CustomerAlipaySaveDTO", description = "")
public class CustomerAlipaySaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    @NotNull(message = "不能为空")
    private Long customerId;
    /**
     * 支付宝账号
     */
    @ApiModelProperty(value = "支付宝账号")
    @Length(max = 50, message = "支付宝账号长度不能超过50")
    private String aliAccount;
    @ApiModelProperty(value = "")
    @Length(max = 10, message = "长度不能超过10")
    private String realName;
    @ApiModelProperty(value = "手机号")
    @Length(max = 11, message = "长度不能超过11")
    private String mobile;

    @ApiModelProperty(value = "验证码")
    @Length(max = 6, message = "长度不能超过6")
    private String sysCode;
}
